AEDeleteParam
AEDeleteParam Delete an Apple Event parameter
#include <AppleEvents.h> Apple Event Manager
OSErr AEDeleteParam( theAppleEvent, theAEKeyword );
AppleEvent * theAppleEvent ; Apple event containing the parameter
to be deleted
AEKeyword theAEKeyword ; Apple Event keyword for parameter
returns Error Code; 0 = no error
The AEDeleteParam function deletes an Apple event parameter.
The parameter theAppleEvent is the Apple event containing the parameter to
be deleted.
The parameter theAEKeyword is the keyword that specifies the parameter to
be deleted.
Result codes
noErr (0) No error
errAEDescNotFound (-1701) Descriptor record was not found
errAENotAEDesc (-1704) Not a valid descriptor record
errAEBadListItem (-1705) Operation involving a list item failed